package practice10;

public class Student extends Person{
    private Klass klass;

    public Student(Integer id, String name, Integer age,Klass klass) {
        super(id, name, age);
        this.klass = klass;
    }

    public String introduce(){
        return super.introduce() + "I am a Student. I am at Class 2.";
    }

    public Klass getKlass() {
        return this.klass;
    }
}
